projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c70a68d
)
(re_match_2_internal): Correct matching of eight bit
author
Andreas Schwab
<schwab@suse.de>
Sat, 15 Mar 2008 14:21:08 +0000
(14:21 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Sat, 15 Mar 2008 14:21:08 +0000
(14:21 +0000)
characters in unibyte strings.
src/ChangeLog
patch
|
blob
|
history
src/regex.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index e6de7a07eb5ccb19432c92c84d759807cf3e218f..c8989be51ed47293798b831dde91dcebc22b980f 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2008-03-15 Andreas Schwab <schwab@suse.de>
+
+ * regex.c (re_match_2_internal): Correct matching of eight bit
+ characters in unibyte strings.
+
2008-03-15 Martin Rudalics <rudalics@gmx.at>
* buffer.c (overlays_in, Foverlays_in): Include empty overlays
diff --git
a/src/regex.c
b/src/regex.c
index e19183fcf526c7c8135e436dab0668ce33a7350a..1400a7daa77e7c8e1bc77b8b6cbf5840ee9f78ed 100644
(file)
--- a/
src/regex.c
+++ b/
src/regex.c
@@
-5590,6
+5590,8
@@
re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop)
if (buf_ch < 0)
buf_ch = *d;
}
+ else
+ buf_ch = *d;
if (buf_ch != pat_ch)
{
d = dfail;